package com.yuma.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class Dog {
    @Value("旺财")
    private String name;
    @Value("2")
    private int age;
}
